<div class="layout960 mt10 fn-clear">
<script>
    seajs.use(['index']);
</script>
<div class="layout325 fn-left">
	<a href="{url('owncard/index')}" class="index-card" target="_blank" title="车主金卡"><img src="{IMG_URL}Index/card.jpg" alt="车主金卡" width="325" height="145"></a>
	<!--获奖名单-->
	<div class="index-lottery-list mt10">
		<div class="index-block-title">
			<h2>每天幸运获奖名单</h2><a class="more" href="{SITE_URL}ernie/index.php" title="参与摇奖" target="_blank">摇奖</a>
		</div>
		<div class="content">
			<ul id="J_lotteryList">
				<!--<li><span class="name fn-left">gina</span><span class="fn-left">获得20元奖</span><span class="time fn-right">12-23</span></li>-->
				{php $tag=Template::tag("table=xd_ernielog&prefix=&condition=status=3&pagesize=9&order=time desc&template=null");}
				{loop $tag $t}
				<li><span class="name fn-left">{$t['username']}</span><span class="fn-left">获得{$t['prizename']}奖</span><span class="time fn-right">{date('m-d',$t['time'])}</span></li>
				{/loop}
			</ul>
		</div>
	</div>
	<div id="J_LeftInfo" class="index-left-infolist mb10">
		<div class="index-tab-title fn-clear">
			<h2 class="fn-left">车企在线店</h2>
			<ul class="fn-left fn-clear">
				<li class="current"><h3>销售</h3></li>
				<li><h3>服务</h3></li>
			</ul>
		</div>
		<!--销售 start-->
		<div class="index-online-sell content">
			<h2><a href="{url('store/list','catid=829')}" target="_blank" title="配件销售商">配件销售商</a></h2>
			<dl class="fn-clear">
				<dt><a href="{url('store/list','catid=942')}" target="_blank" title="发动机零部件">发动机零部件</a></dt>
				<dd><a href="{url('store/list','catid=948')}" target="_blank" title="机体零部件">机体零部件</a></dd>
				<dd><a href="{url('store/list','catid=949')}" target="_blank" title="曲轴连杆活塞零配件">曲轴连杆活塞零配件</a></dd>
				<dd><a href="{url('store/list','catid=950')}" target="_blank" title="配气机构零配件">配气机构零配件</a></dd>
				<dd><a href="{url('store/list','catid=951')}" target="_blank" title="进排气系统配件">进排气系统配件</a></dd>
				<dd><a href="{url('store/list','catid=952')}" target="_blank" title="润滑系统配件">润滑系统配件</a></dd>
			</dl>
			<dl class="fn-clear">
				<dt><a href="{url('store/list','catid=943')}" target="_blank" title="底盘零部件">底盘零部件</a></dt>
				<dd><a href="{url('store/list','catid=962')}" target="_blank" title="ABS系统配件">ABS系统配件</a></dd>
				<dd><a href="{url('store/list','catid=960')}" target="_blank" title="变速箱配件">变速箱配件</a></dd>
				<dd><a href="{url('store/list','catid=959')}" target="_blank" title="离合器配件">离合器配件</a></dd>
				<dd><a href="{url('store/list','catid=961')}" target="_blank" title="传动系其他零配件">传动系其他零配件</a></dd>
				<dd><a href="{url('store/list','catid=963')}" target="_blank" title="鼓式刹车配件">鼓式刹车配件</a></dd>
				<dd><a href="{url('store/list','catid=971')}" target="_blank" title="减震器配件">减震器配件</a></dd>
			</dl>
			<dl class="fn-clear">
				<dt><a href="{url('store/list','catid=944')}" target="_blank" title="电子电气设备">电子电气设备</a></dt>
				<dd><a href="{url('store/list','catid=974')}" target="_blank" title="电子电器常用配件">电子电器常用配件</a></dd>
				<dd><a href="{url('store/list','catid=976')}" target="_blank" title="车载影音配件">车载影音配件</a></dd>
				<dd><a href="{url('store/list','catid=975')}" target="_blank" title="导航雷达显示器配件">导航雷达显示器配件</a></dd>
				<dd><a href="{url('store/list','catid=977')}" target="_blank" title="电子电器其他配件">电子电器其他配件</a></dd>
			</dl>
			<dl class="fn-clear">
				<dt><a href="{url('store/list','catid=945')}" target="_blank" title="车身">车身</a></dt>
				<dd><a href="{url('store/list','catid=978')}" target="_blank" title="车体配件">车体配件</a></dd>
				<dd><a href="{url('store/list','catid=979')}" target="_blank" title="车门总成配件">车门总成配件</a></dd>
				<dd><a href="{url('store/list','catid=980')}" target="_blank" title="车身常用配件">车身常用配件</a></dd>
				<dd><a href="{url('store/list','catid=981')}" target="_blank" title="雨刷总成配件">雨刷总成配件</a></dd>
				<dd><a href="{url('store/list','catid=982')}" target="_blank" title="车身其他零配件">车身其他零配件</a></dd>
			</dl>
			<dl class="fn-clear">
				<dt><a href="{url('store/list','catid=946')}" target="_blank" title="汽车改装配件">汽车改装配件</a></dt>
				<dd><a href="{url('store/list','catid=983')}" target="_blank" title="新能源动力改装">新能源动力改装</a></dd>
				<dd><a href="{url('store/list','catid=984')}" target="_blank" title="商用车改装">商用车改装</a></dd>
				<dd><a href="{url('store/list','catid=985')}" target="_blank" title="特种车辆配件">特种车辆配件</a></dd>
				<dd><a href="{url('store/list','catid=987')}" target="_blank" title="外观改装">外观改装</a></dd>
				<dd><a href="{url('store/list','catid=988')}" target="_blank" title="内饰改装">内饰改装</a></dd>
				<dd><a href="{url('store/list','catid=989')}" target="_blank" title="动力改装">动力改装</a></dd>
			</dl>
			<h2><a href="{url('store/list','catid=830')}" target="_blank" title="用品销售商">用品销售商</a></h2>
			<dl class="fn-clear">
				<dd><a href="{url('store/list','catid=995')}" target="_blank" title="维修保养用品">维修保养用品</a></dd>
				<dd><a href="{url('store/list','catid=996')}" target="_blank" title="美容保养用品">美容保养用品</a></dd>
				<dd><a href="{url('store/list','catid=997')}" target="_blank" title="汽车安全用品">汽车安全用品</a></dd>
				<dd><a href="{url('store/list','catid=998')}" target="_blank" title="内饰用品">内饰用品</a></dd>
				<dd><a href="{url('store/list','catid=999')}" target="_blank" title="外饰用品">外饰用品</a></dd>
				<dd><a href="{url('store/list','catid=1000')}" target="_blank" title="通讯及小电器">通讯及小电器</a></dd>
			</dl>
		</div>
		<!--服务 end-->
		<div class="index-online-serv content fn-hide">
			<dl class="fn-clear">
				<dd><a href="{url('store/list','catid=21')}" target="_blank" title="维修">维修</a></dd>
				<dd><a href="{url('store/list','catid=418')}" target="_blank" title="驾校">驾校</a></dd>
				<dd><a href="{url('store/list','catid=417')}" target="_blank" title="4S店">4S店</a></dd>
				<dd><a href="{url('store/list','catid=833')}" target="_blank" title="美容">美容</a></dd>
				<dd><a href="{url('store/list','catid=834')}" target="_blank" title="音响">音响</a></dd>
				<dd><a href="{url('store/list','catid=835')}" target="_blank" title="轮胎">轮胎</a></dd>
				<dd><a href="{url('store/list','catid=836')}" target="_blank" title="改装">改装</a></dd>
				<dd><a href="{url('store/list','catid=1004')}" target="_blank" title="保险">保险</a></dd>
				<dd><a href="{url('store/list','catid=2513')}" target="_blank" title="汽修学校">汽修学校</a></dd>
				<dd><a href="{url('store/list','catid=2755')}" target="_blank" title="二手车">二手车</a></dd>
				<dd><a href="{url('store/list','catid=2756')}" target="_blank" title="物流公司">物流公司</a></dd>
			</dl>
			<div class="panel-line mt10">
				<div class="hd fn-clear">
					<h3>汽车服务</h3>
					<a class="more" href="{url('store/list','catid=20')}" target="_blank" title="更多">更多&gt;&gt;</a>
				</div>
				<ul class="img-news fn-clear mt10">
					{php $tag = Template::tag("table=company&condition=groupid>5 and thumb!=''&pagesize=4&order=groupid desc &template=null") }
					{loop $tag $t}
					<li>
						<a class="img" href="{url('store/show','uid='.$t['userid'])}" target="_blank" title="{$t[company]}">
							<img src="{Picture::thumb($t['thumb'], 145, 95)}" alt="{$t[company]}" >
						</a>
						<a class="text-ellipsis" href="{url('store/show','uid='.$t['userid'])}" target="_blank" title="{$t[company]}">{$t[company]}</a>
					</li>
					{/loop}
				</ul>
			</div>
		</div>
	</div>
</div>
<div class="layout625 index-mright fn-right">
	<div class="fn-clear">
		<!--图片轮转-->
		<div id="js-top-rotate" class="index-img-rotate fn-left fn-clear">
			{php $information0 = Template::tag("fields=title,thumb,itemid&moduleid=26&condition=status=3 and thumb!='' and level=2 and  cartypeid=1&pagesize=5&order=edittime desc,addtime DESC&template=null", -1);}
			{php $information1 = array_splice($information0,0,2)}
			{php $information2 = Template::tag("fields=title,thumb,itemid&moduleid=26&condition=status=3 and thumb!='' and level=2 and  cartypeid=2&pagesize=2&order=edittime desc,addtime DESC&template=null", -1);}
			{php $information3 = Template::tag("fields=title,thumb,itemid&moduleid=26&condition=status=3 and thumb!='' and level=2 and cartypeid=3&pagesize=2&order=edittime desc,addtime DESC&template=null", -1);}
			{php $information4 = Template::tag("fields=title,thumb,itemid&moduleid=26&condition=status=3 and thumb!='' and level=2 and cartypeid=4&pagesize=1&order=edittime desc,addtime DESC&template=null", -1);}
			{php $tags=array_merge($information1,$information2,$information3,$information4);}
			<ul>
				{loop $tags $i $t}
				<li {if $i==0}class='magic-img-now'{/if}>
				<a href="{url('info/show',"itemid=".$t[itemid])}" target="_blank" title="{$t['title']}"><img src="{Picture::thumb($t['thumb'], 450, 300)}" width="450" height="300" alt="{$t['title']}" /></a>
				<p class="opacity"><a href="{url('info/show',"itemid=".$t[itemid])}" target="_blank" title="{$t['title']}">{$t['title']}</a></p>
				</li>
				{/loop}
			</ul>
			<a class="pre" href="javascript:void(0)"></a>
			<a class="next" href="javascript:void(0)"></a>
			<div class="index-vector">
				{loop $tags $i $t}
				<span {if $i==0}class="active"{/if}></span>
				{/loop}
			</div>
		</div>
		<!--图片轮转 end-->
		<ul class="index-mrtimgs fn-right">
			{loop $information0 $t}
			<li>
				<a href="{url('info/show',"itemid=".$t[itemid])}" target="_blank" title="{$t[title]}">
					<img src="{Picture::thumb($t['thumb'], 160, 105)}"  alt="{$t[title]}" target="_blank">
				</a>
			</li>
			{/loop}
		</ul>
	</div>
	<!--最新车讯-->
	<div class="panel-rec-radius mt10">
		<div class="hd-rec-radius fn-clear">
			<h3 class="fn-left">最新车讯</h3>
		</div>
		<!--乘用车-->
		<div class="index-news-blk fn-left">
			<div class="hd bd">
				<h2 class="fn-left"><a href="{url('auto/search','l=433')}" target="_blank" title="乘用车">乘用车</a><b>|</b></h2>
				<ul class="fn-left fn-clear">
					<li><a href="{url('auto/search','l=436')}" target="_blank" title="轿车">轿车</a></li>
					<li><a href="{url('auto/search','l=441')}" target="_blank" title="豪华车">豪华车</a></li>
					<li><a href="{url('auto/search','l=442')}" target="_blank" title="mpv">mpv</a></li>
					<li><a href="{url('auto/search','l=433')}" target="_blank" title="suv">suv</a></li>
					<li><a href="{url('auto/search','l=444')}" target="_blank" title="跑车">跑车</a></li>
				</ul>
			</div>
			<p class="fn-clear">
				{php $data=Template::tag("fields=title,itemid&moduleid=26&condition=status=3 and level=5 and cartypeid=1&pagesize=6&order=edittime desc,addtime desc&template=null");}
				{php $first = array_shift($data)}
				{loop $data $vo}
				<a href="{url('info/show',"itemid=".$vo[itemid])}" title="{$vo[title]}" target="_blank">{$vo[title]}</a>
				{/loop}
			</p>
		</div>
		<!--商用车-->
		<div class="index-news-blk fn-left">
			<div class="hd bd">
				<h2 class="fn-left"><a href="{url('auto/search','l=434')}" target="_blank" title="商用车">商用车</a><b>|</b></h2>
				<ul class="fn-left fn-clear">
					<li><a href="{url('auto/search','l=445')}" target="_blank" title="卡车">卡车</a></li>
					<li><a href="{url('auto/search','l=446')}" target="_blank" title="客车">客车</a></li>
				</ul>
			</div>
			<p class="fn-clear">
				{php $data=Template::tag("fields=title,itemid&moduleid=26&condition=status=3 and level=5 and cartypeid=2&pagesize=6&order=edittime desc,addtime desc&template=null");}
				{php $first = array_shift($data)}
				{loop $data $vo}
				<a href="{url('info/show',"itemid=".$vo[itemid])}" title="{$vo[title]}" target="_blank">{$vo[title]}</a>
				{/loop}
			</p>
		</div>
		<!--房车-->
		<div class="index-news-blk fn-left">
			<div class="hd bd">
				<h2 class="fn-left"><a href="{url('auto/search','l=435')}" target="_blank" title="房车">房车</a><b>|</b></h2>
				<ul class="fn-left fn-clear">
					<li><a href="{url('auto/search','l=509')}" target="_blank" title="自行房车">自行房车</a></li>
					<li><a href="{url('auto/search','l=516')}" target="_blank" title="拖挂房车">拖挂房车</a></li>
					<li><a href="{url('auto/search','l=518')}" target="_blank" title="越野房车">越野房车</a></li>
				</ul>
			</div>
			<p class="fn-clear">
				{php $data=Template::tag("fields=title,itemid&moduleid=26&condition=status=3 and level=5 and cartypeid=3&pagesize=6&order=edittime desc,addtime desc&template=null");}
				{php $first = array_shift($data)}
				{loop $data $vo}
				<a href="{url('info/show',"itemid=".$vo[itemid])}" title="{$vo[title]}" target="_blank">{$vo[title]}</a>
				{/loop}
			</p>
		</div>
		<!--新能源车-->
		<div class="index-news-blk fn-left">
			<div class="hd bd">
				<h2 class="fn-left"><a href="{url('auto/search','e=432')}" target="_blank" title="新能源车">新能源车</a><b>|</b></h2>
				<ul class="fn-left fn-clear">
					<li><a href="{url('auto/search','e=429')}" target="_blank" title="电动">电动</a></li>
					<li><a href="{url('auto/search','e=428')}" target="_blank" title="天然气">天然气</a></li>
					<li><a href="{url('auto/search','e=431')}" target="_blank" title="双燃气">双燃气</a></li>
					<li><a href="{url('auto/search','e=430')}" target="_blank" title="混动">混动</a></li>
				</ul>
			</div>
			<p class="fn-clear">
				{php $data=Template::tag("fields=title,itemid&moduleid=26&condition=status=3 and level=5 and cartypeid=4&pagesize=6&order=edittime desc,addtime desc&template=null");}
				{php $first = array_shift($data)}
				{loop $data $vo}
				<a href="{url('info/show',"itemid=".$vo[itemid])}" title="{$vo[title]}" target="_blank">{$vo[title]}</a>
				{/loop}
			</p>
		</div>
	</div>
</div>
</div>


{template 'lottery','extend'}